package com.example.demo.entity.pojo;

import java.util.Date;
import java.io.Serializable;

/**
 * 班级成员关系表(ClassMember)实体类
 *
 * @author makejava
 * @since 2025-07-13 11:30:30
 */
public class ClassMember implements Serializable {
    private static final long serialVersionUID = -59070622164418118L;

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 班级ID
     */
    private Integer classId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 加入时间
     */
    private Date joinTime;

    /**
     * 成员状态: 0=已退出, 1=正常
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
